<div v-if="show" class="main detail">
	<div class="art_pro_content box">
		<h1 class="tc">{{goods.goodsname}}({{goods.goodscode}})</h1>
	    <div class="sub_price row">
	        <div class="col">
	        	<template v-if="!isFlashsale">
		        	<label>认购价格：</label>
		        	<span class="color-up">{{goods.issueprice|priceFormatMindecimal(goods.mindecimal)}}元</span>
	        	</template>
	        	<template v-else>
		        	<label>抢购价格：</label>
		        	<span class="color-up">{{goods.flashsale.iprice|priceFormatMindecimal(goods.mindecimal)}}元</span>
	        	</template>
	        </div>
	        <div class="col"><label>发行量:</label><span>{{goods.issueamount}}({{goods.deliveryunit}})</span></div>
	    </div>
	    <div class="sub_quantity row">
	        <div class="col" >
	        	<template v-if="!isFlashsale">
	        		<template v-if="goods.issuestatus == 55">
		        	<label>上市时间：</label><span>{{goods.validatestarttime}}</span>
	        		</template>
	        		<template v-else>
		        	<label>截止日期：</label><span>{{goods.issueendtime}}</span>
	        		</template>
	        	</template>
	        	<template v-else>
		        	<label>已抢数量：</label><span>{{goods.flashsale.purchaseamount}}</span>
	        	</template>
	        </div>
	        <div class="col"><label>剩余:</label><span>{{goods.surplus}}({{goods.deliveryunit}})</span></div>
	    </div>
	</div>
	
	<!--抢购信息-->
	<div class="flashsale-tip" :id="'time'+goods.goodscode">
		<p class="color-up" v-show="isFlashsale">正在抢购中，距结束仅剩&nbsp;<span class="date">{{flashsaleTime}}</span></p>
		<!--<p class="color-up">正在抢购中，距结束仅剩&nbsp;<span class="hour">00</span>:<span class="mini">00</span>:<span class="sec">00</span></p>-->
		<p class="color-up" v-show="hasNextFlashsale">下一场开始时间：{{flashsalenext.starttime|date}}到{{flashsalenext.endtime|date}}</p>
	</div>
	
	<div class="common-nav row">
		<div class="col" :class="{'selected2':showDesc}" @click="switchShowDesc"><span class="iconfont color-up" v-show="showDesc">&#xe606;</span>商品介绍</div>
	   	<div class="col" :class="{'selected2':!showDesc}" @click="switchShowDesc(0)"><span class="iconfont color-up" v-show="!showDesc">&#xe606;</span>认购说明</div>
	</div>
	
	<div v-html="desc" v-show="showDesc" class="box desc"></div>
	<div v-show="!showDesc" v-html="subscription" class="box"></div>
	<div class="pop-page pop-form">
		<p class="btn bord-rad-top-3 tc" :class="{'btn-end':isEnd}" @click="showForm">{{btnName}}</p>
		<form v-show="formshow" class="main">
			<div class="box">
				<div class="row">
				    <label>商品名称</label><div class="col">{{goods.goodsname}}</div>
				</div>
				<div class="row">
				    <label>商品代码</label><div class="col">{{goods.goodscode}}</div>
				</div>
				<div class="row">
					<template v-if="!isFlashsale">
					    <label>认购价格</label>
					    <div class="col">{{goods.issueprice|priceFormatMindecimal(goods.mindecimal)}}</div>
					</template>
					<template v-else>
						<label>抢购价格</label>
						<div class="col">{{goods.flashsale.iprice|priceFormatMindecimal(goods.mindecimal)}}</div>
					</template>
				    
				</div>
				<div class="row">
					<label v-if="!isFlashsale">认购数量</label>
				    <label v-else>抢购数量</label>
				    <div class="col"><input class="ipt" type="text" v-model="formCount"/></div>
				</div>
				<div class="row">
				    <label v-if="!isFlashsale">可认数量</label>
				    <label v-else>可抢数量</label>
				    <div class="col">{{formCanamount}}</div>
				</div>
				<div class="row">
					<label v-if="!isFlashsale">认购金额</label>
				    <label v-else>抢购金额</label>
				    <div class="col color-up">{{priceCount}}</div>
				</div>
			</div>
			<div class="form-btnCt row tc">
			     <div class="col"><input type="button" class="btn-cancel bord-rad" @click="hideForm" value="取消" style="width: 90%;"/></span></div>
			     <div class="col"><input type="button" class="btn bord-rad" value="确认" @click="subForm" style="width: 90%;"/></div>
			</div>
		</form>
	</div>
</div>